#include<stdio.h>

int val1;
int val2=10;

int main()
{
    
    
    printf("conde addr:%p\n",main);
    const char* p="hello world\n";
    printf("read only string addr:%p\n",p);
    printf("init global val addr:%p\n",&val2);
    printf("uninit global val addr:%p\n",&val1);

    int* a=(int*)malloc(sizeof(int)*4);
    printf("heap addr:%p\n",a);
    printf("stack addr:%p\n",&a);

    return 0;
}
